<template>
  首页
  <div @click="goto">点击去拍摄</div>
</template>

<script lang="ts" setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const goto = () => {
  console.log(2)

  router.push('/screen')
}
</script>
